package com.gxar.quick.ar.server.base.common.enums.order;

/**
 * @author linsy
 * @version 1.0
 * @created 2023/11/10 13:43
 */
public enum OrderStatusEnum {
    UN_PAY(0, "UnPay", "未支付"),
    PAYING(1, "Paying", "支付中"),
    PAID(2, "Paid", "已支付"),
    CANCELLED(3, "Cancelled", "已取消"),
    REFUND(4, "Refunded", "已退款"),
    ;

    private final Integer code;
    private final String name;
    private final String desc;

    OrderStatusEnum(Integer code, String name, String desc) {
        this.code = code;
        this.name = name;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public String getDesc() {
        return desc;
    }
}
